/**********************************************************************************************************************
 *
 * Project:    mGameEngine
 * File:       group.h
 * Author:     karooolek
 * Created on: 2009-03-14
 *
 **********************************************************************************************************************/

#ifndef GROUP_H_
#define GROUP_H_

#include "edge.h"
#include "face.h"
#include "strip.h"
#include "material.h"

namespace mGameEngine
{
namespace Graphics
{

/**
 * Mesh geometry group contains geometry primitives.
 * Each group uses one material.
 */
struct Group
{
    /**
     * Name.
     */
    String name;

    /**
     * Edges
     */
    Vector<Edge> edges;

    /**
     * Faces
     */
    Vector<Face> faces;

    /**
     * Strips
     */
    Vector<Strip> strips; 

    /**
     * Material
     */
    Material *material;
};

}
}

#endif // GROUP_H_
